// 订单列表查询参数
export type orderParamsType = {
  page?: number,
  pageSize?: number,
  status?: number,
  start?: number,
  end?: number
}

export type orderItem = {
  id: number;
  menu_id: number;
  menu_name: string;
  menu_fee: string;
  quantity: number;
  menu_photo: string;
}
export type orderRemarkInfo = {
  userRemark: string;
  merchantRemark: string;
}
export type orderListType = {
  id: number;
  dining_method: number;
  remark: string;
  status: number;
  create_time: number;
  total_fee: string | number;
  reviewed: boolean;
  items: orderItem[];
  refundInfo: orderRemarkInfo
}

export type orderScoreType = {
  orderId: number,
  score: number,
  content?: string,
  photo_url?: string
}

export type orderConfirmType = {
  id: number,
  fee: number,
  name: string,
  quantity: number,
  photo_url: string,
  dining_method: number,
  remark: string,
}

export type orderRefundApplyType = {
  order_id: number,
  user_remark: string
}
